

<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script language="JavaScript" type="text/JavaScript" src="../javaScript/ajax/jquery2.js"></script>        
        <title>ERP Mission - A Project sponsored by NMEICT, MHRD, Govt. of India</title>
        <link href="../css/pico.css" rel="stylesheet" type="text/css" />
        <meta HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8">
        <meta name="description" content="ERP for Universities">
        <meta name="keywords" content="ERP">
        <meta name="author" content="Afree Khan, Jamia Millia Islamia">
        <meta name="email" content="afreen.mca@gmail.com">
        <meta name="copyright" content="NMEICT, MHRD, Govt. of India">
    </head>
    <body class="twoColElsLtHdr">
        <div id="container">
            <div id="header">
                <jsp:include page="../Administration/header.jsp" flush="true"></jsp:include>
            </div>
            <div id="sidebar1">
                <jsp:include page="../Administration/menu.jsp" flush="true"></jsp:include>
            </div>

            <!-- *********************************End Menu****************************** -->
            <div id ="mainContent" align="center">
                <p align="center"><s:label value="SUPPLIER LIST" /></p>
                <p align="center"><s:property value="message" /></p>

                <s:form name="frmSupplierBrowse">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                        <display:table name="erpmsmList" pagesize="15"
                                       excludedParams="*" export="true" cellpadding="0"
                                       cellspacing="0"
                                       requestURI="/PrePurchase/BrowseSupplier.action">
                            <display:column property="institutionmaster.imShortName" title="Institution"
                                            maxLength="35" headerClass="gridheader"
                                            class="griddata" style="width:30%" sortable="true"/>
                            <display:column property="smName" title="Name"
                                            maxLength="35" headerClass="gridheader"
                                            class="griddata" style="width:30%" sortable="true"/>
                            <display:column property="erpmGenMasterBySmOwnershipType.erpmgmEgmDesc" title="ownertype"
                                            maxLength="35" headerClass="gridheader"
                                            class="griddata" style="width:30%" sortable="true"/>
                            <display:column property="erpmGenMasterBySmSupplierType.erpmgmEgmDesc" title="SupplierType"
                                            maxLength="10" headerClass="gridheader"
                                            class="griddata" style="width:30%" sortable="true"/>
                            <display:column property="smDealsWith" title="Deals With"
                                            maxLength="35" headerClass="gridheader"
                                            class="griddata" style="width:30%" sortable="true"/>


                            <display:column paramId="SMID" paramProperty="smId"
                                            href="/pico/PrePurchase/EditSupplier.action"
                                            headerClass="gridheader" class="griddata" media="html" >
                                <img align="right" src="../images/edit.jpg" border="0" alt="Edit" style="cursor:pointer;"/>
                            </display:column>
                            <display:column paramId="SMID" paramProperty="smId"
                                            href="/pico/PrePurchase/DeleteSupplier.action"
                                            headerClass="gridheader" class="griddata" media="html">
                                <img align="left" src="../images/TrashIcon.png" border="0" alt="Delete"  style="cursor:pointer;"/>
                            </display:column>

                            <display:column paramId="SMID" paramProperty="smId"
                                            href="/pico/PrePurchase/ManageSupplierAddress.action"
                                            headerClass="gridheader" class="griddata" media="html">
                                <img align="left" src="../images/more_bg.gif" border="0" alt="Address"  style="cursor:pointer;"/>
                            </display:column>
                        </display:table>
                    </table>
                </s:form>
            </div>
            <div id="footer">
                <jsp:include page="../Administration/footer.jsp" flush="true"></jsp:include>
            </div>
        </div>
    </body>
</html>